package net.aaa.hotel.dao;


import net.aaa.hotel.entity.T_TypeSheshi;
import net.aaa.hotel.entity.T_sheshi;

import java.util.List;
import java.util.Map;

/**
 * @author 凉凉
 * @time 11-11;14:48
 */
public interface T_sheshiDao {
    List<Map> findAll();

    int delete(String ssId);

    Map findByid(String ssId);

    int add(T_sheshi t_sheshi);

    List<Map> getAllByPage(Integer curr,Integer nums,String condition);

    List<Map> getAllByPage(Integer curr,Integer nums);

    int getCount(String condition);

    int getCount();



    // 通过房间类型获得 对应的固定设施
    List getSheshiByRoomType(Integer typeid);


    List<Map> getAllGdSheShi();

    List<Map> getTypeSheshi(Integer typeid);



    int addSheShi(T_TypeSheshi typesheshi);

    int deleteSheshi(T_TypeSheshi typesheshi);
}
